<template>
    <div>
        <top-label v-model="index">
            <span :slot="0">设计资料</span>
            <span :slot="1">施工资料</span>
            <span :slot="2">运行资料</span>
        </top-label>
        <el-row>
            <design-resource-body v-show="index===0"></design-resource-body>
            <construction-information v-show="index===1"></construction-information>
            <running-resource v-show="index===2"></running-resource>
        </el-row>
    </div>
</template>

<script>
    import TopLabel from "~/components/TopLabel";
    import DesignResourceBody from "~/views/basic-information/design-resources/DesignResourceBody";
    import ConstructionInformation from "~/views/basic-information/design-resources/ConstructionInformation";
    import RunningResource from "~/views/basic-information/design-resources/RunningResource";

    export default {
        name: "DesignResources",
        components:{
            RunningResource,
            ConstructionInformation,
            DesignResourceBody,
            TopLabel
        },
        data(){
            return{
                index:0
            }
        }
    }
</script>

<style scoped>

</style>